SAMWHA ACE AIR CON communication driver

 

SAMWHA ACE AIR CON communication driver is the driver to communicate with thermo-hygrostat controller of Samwha Ace in Korea.

1. Read settings

 

<Figure 1> is read setting example of SAMWHA ACE AIR CON communication driver.

<Figure 1> Read setting example of SAMWHA ACE AIR CON communication driver

Device part of  <Figure 1> input Com Port(COM1), Com Baud(19200), Parity Bit(2), Data Bit(8), Stop Bit(2) respectively, according to device.

 

Thermo-hygrostat driver's read schedule is as follows.

READ STATION READ Command Read Start Address Save Start Address Read Size
(Fixed to 1)
READ, 1, R, 1, 1, 1,
READ, 1, R, 2, 2, 1,
READ, 1, R, 3, 3, 1,
READ, 1, R, 4, 4, 1,
READ, 1, R, 5, 5, 1,
READ, 1, R, 6, 6, 1,
READ, 1, R, 7, 7, 1,
READ, 1, R, 8, 8, 1,
READ, 1, R, 9, 9, 1,
READ, 1, R, 10, 10, 1,
READ, 1, D, 0, 11, 1,
READ, 1, E, 0, 20, 1,
<Table 1> Read schedule example for thermo-hygrostat of SAMWHA ACE

1) STATION : STATION designated at thermo-hygrostat.

2) Read Command : D - DSP read command, R - Reading setting data : R01 ~ R15, E - ERR error read command.

3) Read Start Address : In case of R read command, designate address between no.1 and no.15.

4) Save Start Address for Communication Server : Buf position to save the read status value.

5) Read Size : Fixed to 1. (Refer to <Table 1>)

Read Command Read Start Address Protocol
OP Code

Contents

Remarks
D or d Don't care DSP

System Status,

Current Temperature,

Current Humidity,

Operation Status Etc

Refer to <Table 3>
R 1 R01

Setting Temperatuer

00 ~ 50
2 R02

Setting Humidity

00 ~ 99
3 R03

Setting Heating Differance

00 ~ 99 (0.0 ~ 9.9)
4 R04

Setting Cooling Differance

00 ~ 99 (0.0 ~ 9.9)
5 R05

Setting Humidity Differance

00 ~ 30
6 R06

Setting De-Humidity Differance

00 ~ 30
7 R07

Temperature Compensation Setting

-99 ~ +99(-9.9 ~ +9.9)
8 R08

Humidity Compensation Setting

-99 ~ +99 (-9.9 ~ +9.9)
9 R09

Cooling Cycle Setting

01 ~ 02
10 R10

Blower Moter Delay Time Setting

00 ~ 09
11 R11

Current Time

Month, Day, Hour, Minute
Refer to <Table 4>
12 R12

Reservation Start Time Setting

13 R13

Reservation End Time Setting

14 R14

Reservation Operating Setting

Operation(H) : 1, Stop(L) : 0
15 R15

System Operation, Heating Etc

Refer to <Table 5>
E or e Don't care ERR

Error Status

Refer to <Table 6>
<Table 2> Communication contents according to read command and read address
Memory Address Contents Remarks
Save Addr + 0 System Operating Status 1 : Operation, 0 : Stop
Save Addr + 1 Current Temp 000 ~ 500 (0.1 degree intervals)
Save Addr + 2 Current Humidity 00 ~ 99
Save Addr + 3 Heating Status 1 : Operation, 0 : Stop
Save Addr + 4 Cooling Status 1 : Operation, 0 : Stop
Save Addr + 5 Humidification Operating Status 1 : Operation, 0 : Stop
Save Addr + 5 Dehumidification Operating Status 1 : Operation, 0 : Stop
<Table 3> Data contents of D (DSP) read command

Memory Address

Contents

Remarks

Save Addr + 0

Month

R11 : Current Time

R12 ~ R13 : Setting Time

Save Addr + 1

Day

Save Addr + 2

Hour

Save Addr + 3

Minute

<Table 4> Data contents of R11 ~ R13 read command
Memory Address Contents Remarks
Save Addr + 0 Dehumidification MASK 1 : Operation, 0 : Stop
Save Addr + 1 Humidification MASK 1 : Operation, 0 : Stop
Save Addr + 2 Cooling MASK 1 : Operation, 0 : Stop
Save Addr + 3 Heating MASK 1 : Operation, 0 : Stop
Save Addr + 4 System Operating MASK 1 : Operation, 0 : Stop
<Table 5> Data contents of R15 read command
Memory Address Contents Remarks
Save Addr + 0 Blower Moter Operating Status Error 1 : Error, 0 : Normal
Save Addr + 1 Water Leak Error 1 : Error, 0 : Normal
Save Addr + 2 Cycle 1 Error 1 : Error, 0 : Normal
Save Addr + 3 Cycle 2 Error 1 : Error, 0 : Normal
Save Addr + 4 Heating Operating Status Error 1 : Error, 0 : Normal
Save Addr + 5 Humidification Operating Status Error 1 : Error, 0 : Normal
Save Addr + 6 Temp Sensor Error 1 : Error, 0 : Normal
Save Addr + 7 Humidity Sensor Error 1 : Error, 0 : Normal
<Table 6> Data contents of E (ERR) read command
2. Writing settings

 

Digital Write

You can Run/Stop and change the setting value of thermo-hygrostat by using digital write, as follows.

Digital write setting parameters are as follows :

PORT    Connected PORT number            0 ~ 255

STATION             Set STATION

ADDRESS           Use only 0014, 0015           0014 : Operate as reservation mode,

                                                                                0015 : Dehumidification, Humidification, Cooling, Heating, System Operation.

EXTRA1               Don't care

EXTRA2               When ADDRESS is 0015, Set operation contents

                           0 – Dehumidification Operating, 1 – Humidification Operating, 2 – Cooling Operation, 3 – Heating Operation, 4 – System Operation.

 

Write example 1)

Port : 0, Station : 1,  ADDRESS : 0014

If you set as above and write digital value, you can run/stop(ON/OFF) the reservation operating(according to designated reservation time) of thermo-hygrostat.

 

Write example 2)

Port : 0, Station : 1, ADDRESS : 0015,  Extra2 : 0 

If you set as above and write digital value, you can run/stop(ON/OFF) the dehumidification operating of thermo-hygrostat.

 

Write example 3)

Port : 0, Station : 1, ADDRESS : 0015,  Extra2 : 4 

If you set as above and write digital value, you can run/stop(ON/OFF) the thermo-hygrostat.

 

Analog Write

You can change setting value of temp/humidity and reservation time etc for thermo-hygrostat by using analog write as follows.

Analog write setting parameters are as follows :

PORT    Connected PORT number            0 ~ 255

STATION             Set STATION

ADDRESS           0001 ~ 0015                     0001 ~ 0010 : Change setting value,

        0011 ~ 0013 : Current time, Set reservation time,

        0014 : Operate as reservation mode,

        0015 : Dehumidification, Humidification, Cooling, Heating, System Operation.

EXTRA1               Don't care

EXTRA2               When ADDRESS is 0011 ~ 0013,    Designate month/day : 4 digits  High 2 digits – Month, Sub 2 digits – Day (Ex : If it is 1123, it means November 23),

When ADDRESS is 0015, set operation contents : 0 – Dehumidification Operating, 1 – Humidification Operating, 2 – Cooling Operation, 3 – Heating Operation, 4 – System Operation.

 

Write example 1)

Port : 0, Station : 1,  ADDRESS : 0001

If you set as above and write analog value, you can change setting temperature of thermo-hygrostat as designated value(00 ~ 50).

 

Write example 2)

Port : 0, Station : 1,  ADDRESS : 0001

If you set as above and write analog value, you can change setting humidity of thermo-hygrostat as designated value(00 ~ 99).

 

Write example 3)

Port : 0, Station : 1,  ADDRESS : 0011, Extra2 : 1109

If you set as above and write analog value as 1630, you can change current time of thermo-hygrostat as November 9 16:30.

 

Write example 4)

Port : 0, Station : 1,  ADDRESS : 0012, Extra2 : 1109

If you set as above and write analog value as 1700, you can designate start time of reservation operating for thermo-hygrostat as November 9 17:00.